package com.suxin.thread.schedulev3.executor;

import com.suxin.thread.schedulev3.task.Task;

import java.util.concurrent.CountDownLatch;

/**
 * @author Tang
 * @classname RunnableTask
 * @description [  ]
 * @date 2021/6/11 17:29
 */
public class RunnableTask implements Runnable{

    private Task task;

    private CountDownLatch countDownLatch;

    RunnableTask(Task task) {

    }

    @Override
    public void run() {

        SlaverExecutor.exec(new RunnableJob());

    }

}